<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <title>模块间通信</title>
  <script src="event.js"></script>
 </head>
 <body>
    <button id="count">点将我</button>
    <div id="showcount"></div>
 </body>
    <script src = "listen.js"></script>
    <script src = "trigger.js"></script>
</html>